package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.demo.mapper.SysIpRecordMapper;
import com.example.demo.domain.SysIpRecord;
import com.example.demo.domain.SysIpRecordExample;
import com.example.demo.service.SysIpRecordService;
@Service
public class SysIpRecordServiceImpl implements SysIpRecordService{

    @Resource
    private SysIpRecordMapper sysIpRecordMapper;

    @Override
    public long countByExample(SysIpRecordExample example) {
        return sysIpRecordMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysIpRecordExample example) {
        return sysIpRecordMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return sysIpRecordMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysIpRecord record) {
        return sysIpRecordMapper.insert(record);
    }

    @Override
    public int insertSelective(SysIpRecord record) {
        return sysIpRecordMapper.insertSelective(record);
    }

    @Override
    public List<SysIpRecord> selectByExample(SysIpRecordExample example) {
        return sysIpRecordMapper.selectByExample(example);
    }

    @Override
    public SysIpRecord selectByPrimaryKey(Long id) {
        return sysIpRecordMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SysIpRecord record,SysIpRecordExample example) {
        return sysIpRecordMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysIpRecord record,SysIpRecordExample example) {
        return sysIpRecordMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysIpRecord record) {
        return sysIpRecordMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysIpRecord record) {
        return sysIpRecordMapper.updateByPrimaryKey(record);
    }

}
